import request from '@/utils/request'

// 查询药库操作列表
export function listDrug_warehouse_operate(query) {
  return request({
    url: '/warehouse/drug_warehouse_operate/list',
    method: 'get',
    params: query
  })
}

// 查询药库操作详细
export function getDrug_warehouse_operate(operateId) {
  return request({
    url: '/warehouse/drug_warehouse_operate/' + operateId,
    method: 'get'
  })
}

// 新增药库操作
export function addDrug_warehouse_operate(data) {
  return request({
    url: '/warehouse/drug_warehouse_operate',
    method: 'post',
    data: data
  })
}

// 修改药库操作
export function updateDrug_warehouse_operate(data) {
  return request({
    url: '/warehouse/drug_warehouse_operate',
    method: 'put',
    data: data
  })
}

// 删除药库操作
export function delDrug_warehouse_operate(operateId) {
  return request({
    url: '/warehouse/drug_warehouse_operate/' + operateId,
    method: 'delete'
  })
}
